package org.hhgzs.modules.erp.service;

import com.alibaba.fastjson.JSONArray;
import org.hhgzs.modules.erp.entity.Depot;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 仓库表 服务类
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
public interface DepotService extends IService<Depot> {

    List<Depot> findUserDepot()throws Exception;

    JSONArray findDepotByCurrentUser() throws Exception;

    int updateIsDefault(Long depotId);
}
